package com.bjfu.servicebase.exceptionHandler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommonException extends RuntimeException{
    // 状态码
    private Integer code;
    // 异常信息，区别于父类的message
    private String msg;

}
